package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.domain.TravelComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQueryObject;
import cn.wolfcode.luowowo.comment.query.TravelCommentQueryObject;

import java.util.List;

public interface ITravelCommentService {
    /**
     * 保存/新增一条评论
     * @param comment
     */
    TravelComment save(TravelComment comment);

    /**
     * 查询某一篇游记下面的所有评论,分页
     * @param travelId
     * @return
     */
    List<TravelComment> listByTravelId(Long travelId);

}
